package ch.ffhs.radarpp.model;

import java.io.Serializable;

public class Settings implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 13482349871L;
	
	private boolean isGPSServiceActivated;
	private int gpsTimeInterval;
	private boolean isPassiveEnabled;
	private boolean isNetworkEnabled;
	private boolean isGPSEnabled;
	private boolean useDLinkDNSToWinkel;

	public Settings(boolean b, int timeIntervall) {
		this.isGPSServiceActivated = b;
		this.gpsTimeInterval = timeIntervall;
		this.isPassiveEnabled = true;
		this.isNetworkEnabled = true;
		this.isGPSEnabled = true;
		this.useDLinkDNSToWinkel = true;
	}
	
	public int getGPSTimeInterval()
	{
		return gpsTimeInterval;
	}
	
	public void setGPSTimeInterval(int timeInterval)
	{
		this.gpsTimeInterval = timeInterval;
	}

	public boolean isGPSServiceActivated() {
		return isGPSServiceActivated;
	}

	public void setGPSServiceActivated(boolean isGPSServiceActivated) {
		this.isGPSServiceActivated = isGPSServiceActivated;
	}

	public boolean isUseDLinkDNSToWinkel() {
		return useDLinkDNSToWinkel;
	}

	public void setUseDLinkDNSToWinkel(boolean useDLinkDNSToWinkel) {
		this.useDLinkDNSToWinkel = useDLinkDNSToWinkel;
	}

	public boolean isGPSEnabled() {
		return isGPSEnabled;
	}

	public void setGPSEnabled(boolean isGPSEnabled) {
		this.isGPSEnabled = isGPSEnabled;
	}

	public boolean isNetworkEnabled() {
		return isNetworkEnabled;
	}

	public void setNetworkEnabled(boolean isNetworkEnabled) {
		this.isNetworkEnabled = isNetworkEnabled;
	}

	public boolean isPassiveEnabled() {
		return isPassiveEnabled;
	}

	public void setPassiveEnabled(boolean isPassiveEnabled) {
		this.isPassiveEnabled = isPassiveEnabled;
	}
	
}
